package ${controllerPackage};

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Set;

import ${entityPackage}.${className};
import ${servicePackage}.I${className}Service;

/**
* <p>
    * 说明 : {@link ${className}} 接口
    * </p>
*
* @author ${author!"liuwb"}
* @since ${data!.now?datetime}
*/

@Api(tags = "${comment}")
@Validated
@Slf4j
@RestController
@RequestMapping("${className?uncap_first}")
public class ${className}Controller {

@Autowired
private I${className}Service i${className}Service;

}
